import java.util.Arrays;

public class HelloWorld {
    public static void main(String[] args) {
        int [] arr={11,22,33,44,55};
        System.out.print("[");
        for(int x=0;x<arr.length;x++){
            if(x==arr.length-2){
                System.out.println(arr[x]+"]");
            }
        }

    }
    public static void main5(String[] args) {
        int i = 1;
        int count = 0;
        for(i = 1;i <= 100;i++){
            if(i % 10 == 9){
                count++;
            }
            if(i / 10 == 9){
                count++;
            }
        }
        System.out.println(count);

    }
    public static void main4(String[] args) {
        int y=1;
        for(y=1000;y<=2000;y++){
            if(y % 100 == 0 &&y % 400 == 0){
                System.out.println(y);

            }else if(y % 4 == 0 &&y % 100!=0){
                System.out.println(y);
            }
        }
    }
    public static void main3(String[] args) {
        int i=1;
        int num=1;
        for (i=1;i<=100;i++){
            for(num=2;num<=i-1;num++){
                if(i%num==0){
                    break;
                }
            }
            if(num==i){
                System.out.println(i);
            }
        }
    }
    public static void main2(String[] args) {
        int num=7;
        int i=2;
        for(;i <= num-1;i++){
            if(num % i == 0){
                System.out.println("不是素数！");
                break;
            }
        }
        if(i==num){
            System.out.println("是素数！");
        }
    }
    public static void main1(String[] args) {
        int i=1;
        while(i<=100){
            if(i%5==0&&i%6==0){
                    System.out.println(i);
                i++;
                continue;
                }
            i++;
        }

        }
    }

